<template>
  <div class="category">
    <h3>{{ title }}</h3>
    <slot name="s1">这里还没有东西哦</slot>
    <slot name="s2"></slot>
  </div>
</template>

<script lang="ts" setup name="Category">
import { defineProps } from "vue";

defineProps(["title"]);

//https://z1.ax1x.com/2023/11/19/piNxLo4.jpg
//http://vjs.zencdn.net/v/oceans.mp4
</script>

<style scoped>
.category {
  background-color: aquamarine;
  border-radius: 10px;
  box-shadow: 0 0 10px;
  padding: 10px;
  width: 200px;
  height: 330px;
  margin: 10px;
}
h3 {
  background-color: rgb(255, 246, 80);
  text-align: center;
}
</style>
